<!--
 * @Author: your name
 * @Date: 2020-12-28 16:02:49
 * @LastEditTime: 2020-12-28 16:17:21
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \basiccss\box\chicun.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>尺寸定义</title>
    <style>
        div{
            width: 250px;
            border: solid 2px #dddddd;
            padding: 20px;
            height: 200px;
        }
        div>img{
            max-width: 90%;
            min-width: 50%;
            min-height: 50%;
            max-height: 90%;
        }
    </style>
</head>
<body>
    <div>
        <img src="./load.jpg" alt="">
    </div>
    <hr>
    
</body>
</html>